package com.mr.cai.main.parse;

import com.alibaba.fastjson.JSON;
import com.mr.cai.main.bean.MrCaiPublicStatusBean;
import com.mr.cai.main.parse.base.MrCaiBaseParse;

import org.json.JSONObject;

/**
 * Created by hai8108 on 16/2/5.
 */
public class MrCaiPublicStatusBeanParse extends MrCaiBaseParse<MrCaiPublicStatusBean> {
    @Override
    public MrCaiPublicStatusBean parse (JSONObject data) {
        if(data != null ){
            return JSON.parseObject(data.toString(), MrCaiPublicStatusBean.class);
        }
        return null;
    }
}
